<div class="example-wrapper">
    <div style="margin-bottom: 5px;">
        <button onclick="getDisplayedRowAtIndex()">Get Displayed Row 0</button>
        <button onclick="getDisplayedRowCount()">Get Displayed Row Count</button>
        <button onclick="printAllDisplayedRows()">Print All Displayed Rows</button>
        <button onclick="printPageDisplayedRows()">Print Page Displayed Rows</button>
    </div>
    
    <div id="myGrid" class="ag-theme-quartz"></div>
</div>